package com.xy.api.model.response;

import lombok.Data;

import java.util.List;

@Data
public class Rows<T> {

    private List<T> rows;

    private long total;

    public Rows(){

    }

    public Rows(List<T> rows, long total) {
        this.rows = rows;
        this.total = total;
    }

}
